<%
	//Description: Nochex Payment Gateway Configuration Page
	//CreateTime:  2006-07-25
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ include file="/common/taglibs.jsp"%>

<probiz:pageHeading pageHeading="NoChex Payment Gateway Configuration" />
<content tag="buttons">
	<probiz:iconBtn btnType="save" onclick="return fnDoAction(this, 'saveConfigAction');" />
	<probiz:iconBtn btnType="back" url="${ctxPath}/system/paymentMethod.html" />
</content>
<div class="top clearfix">
	<ul class="tab">
		<li class="curr"><span>NoChex Payment Gateway Configuration</span></li>
	</ul>
</div>

<div class="modify">
	<form class="mainForm" name="configForm" method="post" action="paymentMethod.html">
	<input type="hidden" name="paymentGatewayId" value="${paymentGateway.paymentGatewayId}"/>
		<table  width="100%" border="0" cellspacing="0" cellpadding="0" class="com_modi_table">
			<tr>
				<th colspan="2" class="title"><h4><fmt:message key="system.pay.en.shuo"/></h4></th>
			</tr>
			<tr>
				<th colspan="2" >
					<IMG alt="nochex" src="<c:url value="/pages/system/${paymentGateway.gatewayIcon}"/>"/>
					<ul class="intro">
						<li>Please get a merchant account from <a href="http://www.nochex.com" target="_blank" style="color:red;text-decoration: underline">NoChex</a></li>
						<li>Fill the information below</li>
					</ul>
				</th>
			</tr>
			<tr>
				<th colspan="2" class="title"><h4><fmt:message key="system.paymentGateway.en.configItem"/></h4></th>
			</tr>
			<tr>
				<th class="label_width_1"><span>NOCHEX Account:</span></th>
				<td>
					<INPUT class="inputtxt" style="width: 350px" name="account" value="${paymentGateway.configData.account}"/>
				</td>
			</tr>
			<tr>
				<th><span>Company Logo URL:</span></th>
				<td>
					<INPUT class="inputtxt" style="width: 350px" name="logoUrl" value="${paymentGateway.configData.logoUrl}"/>
				</td>
			</tr>
			<tr> 
				<th><span>Test/Live Mode:</span></th>
				<td>
					<select name="testModel" style="width:200px" class="selecttxt">
						<option value="Y" <c:if test="${paymentGateway.configData.testModel=='Y'}">selected</c:if>>Test</option>
						<option value="N" <c:if test="${paymentGateway.configData.testModel=='N'}">selected</c:if>>Live</option>
					</select>
				</td>
			</tr> 
		</table>
	</form>
</div>